package com.xbongbong.paas.pojo.dto;

import com.xbongbong.paas.toolbox.wrap.BaseDTO;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

/**
 * @author haibin.zhang
 * @version v1.0
 * @date 2019/7/18 14:45
 * @since v1.0
 */
@Getter
@Setter
public class FixGreenWorldDataJobDTO extends BaseDTO {

    private static final long serialVersionUID = -7959001673439702437L;

    @NotEmpty(message = "{dto.msg.fixDataJob.xbbCode.NotEmpty}")
    private String xbbCode;

    @NotNull(message = "{dto.msg.common.businessType.NotNull}")
    private Integer businessType;

    @NotNull(message = "{dto.msg.common.saasMark.NotNull}")
    private Integer saasMark;

    /**
     * 需要被修改的老流程版本
     */
    @NotNull(message = "需要被修改的老流程版本不能为空")
    private Long sourceStageProcessId;

    /**
     * 用于覆盖的新流程版本
     */
    @NotNull(message = "用于覆盖的新流程版本不能为空")
    private Long targetStageProcessId;

}
